package com.linln.admin.system.controller.api;

import com.linln.admin.system.service.AppService;
import com.linln.modules.system.domain.ActionLog;
import com.linln.modules.system.repository.ActionLogRepository;
import com.linln.modules.system.service.ActionLogService;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

@Controller
@RequestMapping("/system/api.plugs")
public class PlugsController {

    /**
     * 列表页面
     */
    @GetMapping("/icon")
    @RequiresPermissions("system:api.plugs:icon")
    public String icon(Model model){
        return "/system/api/icon";
    }
}